export type GeneralResponse<T> = {
  code?: number;
  message?: string;
  ttl?: number;
  data: T;
};

export type OptionItem = {
  label: string;
  value: string | number;
};

export type ListState<T> = {
  data: T[];
  total: number;
  loading: boolean;
};
